<%@page language="java" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html class="root61">
<head>
<%@include file="/views/common/include/taglib.jsp"%>
<%@include file="/views/common/include/head.jsp"%>
<link type="text/css" rel="stylesheet"
	href="${ctx }/css/dlifestyle/sectionparent.css" source="widget" />
<link type="text/css" rel="stylesheet"
	href="${ctx }/css/dlifestyle/admin.css" source="widget" />
</head>
<body style="margin:0px;">
	<section class="mainborder">
		<section class="edit_scrollable padder">
			<div class="edit_content">
				<form id="myFrom">
					<div class="form">
						<div class="item">
							<input id="configId" type="hidden" value="${integralConfig.id }">
							<span class="col-sm-1 editlable">描述：</span>
							<div class="fl">
								<input class="editform-control" id="configLabel" onblur="checkConfigLabel();" value="${integralConfig.label }" type="text" class="text" maxlength="30" placeholder="请输入描述（最多30字）" />
								<em class="emStyle">*</em>
							</div>
						</div>
						<div class="item">
							<span class="col-sm-1 editlable">名称：</span>
							<div class="fl">
								<c:if test="${integralConfig.id == null}">
									<input class="editform-control" id="configName" onblur="checkConfigName();" value="${integralConfig.name}" type="text" class="text" maxlength="50" placeholder="请输入英文名称（最多50字）" />
								</c:if>
								<c:if test="${integralConfig.id != null}">
									<input class="editform-control" id="configName" type="text" disabled="disabled" value="${integralConfig.name}">
								</c:if>
								<em class="emStyle">*</em>
							</div>
						</div>
						<div class="item">
							<span class="col-sm-1 editlable">值：</span>
							<div class="fl">
								<input class="editform-control" id="value" onblur="checkValueNumber();" value="${integralConfig.value}" type="text" class="text" maxlength="11" placeholder="请输入值" />
								<em class="emStyle">*</em>
							</div>
						</div>
					</div>
				</form>
			</div>
		</section>
	</section>

	<script type="text/javascript">
		document.getElementById("myFrom").reset();
	</script>
</body>
<script
	src="${ctx}/js/controllers/mall/integralconfig/IntegralConfigEditController.js"
	type="text/javascript"></script>
<script type="text/javascript">
	var ctx = '${ctx}';
	setCtx(ctx);
</script>
<!-- 解决ie 6 7 8 9不能显示placeholder的问题 -->
	<script src="${ctx}/js/lib/jquery.JPlaceholder.js"></script>
</html>
